/*
** xlisten.c for zappy in /home/morgan_t/Documents/svn-for-my-proj/zappy/common
** 
** Made by thomas morgant
** Login   <morgan_t@epitech.net>
** 
** Started on  Mon Jul  2 13:15:20 2012 thomas morgant
** Last update Thu Jul  5 12:30:34 2012 thomas morgant
*/

#include "common.h"

int	xlisten(int s, int backlog)
{
  int	i;

  i = listen(s, backlog);
  if (i == -1)
    {
      perror("listen");
      exit(EXIT_FAILURE);
    }
  return (0);
}
